package com.springboot.service;

import com.springboot.model.DoctorInfoForm;
import com.springboot.model.OrderForm;
import com.springboot.model.PatientInfoForm;
import com.springboot.model.UserLoginForm;

import java.util.ArrayList;

/**
 * 本业务用于医生查看预约详情模块
 */
public interface DoctorViewAppointDetailsService
{
    //通过医生id查找该医生的所有预约
    ArrayList <OrderForm> findOrderBydoctorId(Integer id);

    //通过预约id查找患者的预约信息
    PatientInfoForm findPatientByBookId(Integer id);

    //通过患者id找到用户登录表，以便找到logolink
    UserLoginForm findUserLogo(Integer id);

    //通过tel医生电话找到医生id
    DoctorInfoForm findDoctorByTel(String tel);


    //查找某医生已预期的预约
    ArrayList<OrderForm> findOverOrderByDoctor(Integer doctorId);
}
